package com.itheima02.string;

import java.util.Arrays;

public class SplitDemo {
    public static void main(String[] args) {
        String s = "11.22.33.44.55";
        String[] split = s.split("\\.",4); //
        System.out.println(Arrays.toString(split)); //数组工具类转化成字符串
    }
}
